package com.example.activiti.model;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Mr.yuan
 * @version v1.0
 * @date 2019/11/12 13:53
 **/
@Data
public class LeaveDTO implements Serializable {

    private String applyUserId;

    private String key;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    private String reason;

    private String processDefinitionId;
}
